package com.zhangtai.modules.entity.common;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;


import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;

/**
 * $sqlserver
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-06-22 19:48:15
 */
@Data
@TableName("bpm_org")
public class OrgEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.comments
     */
    @TableId
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long id;
    /**
     * $column.comments
     */
    private String orgcode;
    /**
     * $column.comments
     */
    private String name;
    /**
     * $column.comments
     */
    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    private Long pid;
    /**
     * $column.comments
     */
    private String pName;
    /**
     * $column.comments
     */
    private String status;
    /**
     * $column.comments
     */
    private Date updatetime;

}
